//
//  DSZGZHeaderView.m
//  7.13苏宁框架
//
//  Created by app15 on 15/7/19.
//  Copyright (c) 2015年 lovena. All rights reserved.
//

#import "DSZGZHeaderView.h"
#import "DSZGZMoreViewController.h"
#import "DSZGZViewController.h"
@implementation DSZGZHeaderView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(instancetype)initWithFrame:(CGRect)frame{
    self=[super initWithFrame:frame];
    if (self) {
        self=[[[NSBundle mainBundle]loadNibNamed:@"DSZGZHeaderView" owner:nil options:nil]lastObject];
    }
    return self;
}

- (IBAction)moreAction:(UIButton *)sender {
    if ([self.delegate respondsToSelector:@selector(moreView)]) {
        [_delegate moreView];
    }
}
@end
